Inverse Laplace transform using partial fraction expansion